package com.assess.web.service;

import com.assess.web.model.Address;

import java.util.List;

public interface AddressService {

    /**
     * 获取标段地址
     *
     * @param companyId
     * @return
     */
    List<Address> listAddress(int companyId);



    Address getAddress(int addressId);
    /**
     * 保存标段地址
     *
     * @param companyId
     * @param name
     * @return
     */
    int saveAddress(int companyId, String name);
}
